Repository navigation
feat: long menus stop at three quarters of the window and show that more rows are below (0.63.0) - #31
Merged
Merged
Conversation
…ore rows are below
v0.63.0: long menus, right-click menus, the breadcrumb's page list and the slash and @ lists stop at three quarters of the window and scroll, a menu from the top bar or a toolbar opens under it, and a fade with a small pill shows while more rows are below. The demo, demos/views and demos/publish are rebuilt so they carry it. The TypeScript check, the web build with bundlecheck (268.4 KB of the 269 KB budget), wikicheck and go test ./internal/app pass at this commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: long menus stop at three quarters of the window and show that more rows are below (0.63.0)
Summary
role="toolbar"element in the top half of the window hangs from that anchor's bottom edge, so it never flips or clamps over its toolbar. Right-click and caret menus keep their placement, flip included.max-heightset before the menu is appended and measured, and again on window resize with no rows rebuilt (the crumb hover menu closes on resize instead)..menu__listscroller inside the card; the pill uses--glass-bg,--glass-borderand--text-secondary.tools/bundlecheck's start budget goes from 268 to 269 KB: the menu and popover chunks load up front and the start bundle is now 268.4 KB, somake webandmake releasewould fail at 268. Please check this is acceptable.Commits
Version
v0.63.0 (release commit is last). Bumped: Makefile
VERSION, internal/app/version.go, web/package.json, the two own-version fields in web/package-lock.json, src-tauri/Cargo.toml, src-tauri/tauri.conf.json, form-md-desktop in src-tauri/Cargo.lock, the README badge, docs/EXTENSIONS.md, the wiki's Home and Releases, and the three HASHOUT_LOG headers. The demo, demos/views and demos/publish are rebuilt with their README commands. There is no CHANGELOG.md.Checks
npm run buildin web (tsc for both configs, then vite build): clean.go run ./tools/bundlecheck: 268.4 KB gzip up front, over the old 268 KB budget, within 269.go run ./tools/wikicheck: 23 pages agree with the code.go test ./internal/app/: ok.demo/(served over http, CPU slowed 4 times): Outline at 1280x800 top 469, 68 tall, fits, no hint; at 1000x480 top 365, 68 tall, no hint. Export Markdown at 1000x120: top 8, 90 tall (75% of 120), bottom 98, hint on with the pill at opacity 1 when it opened, hint off and the pill at 0 at the last row. The lowest top in any frame was 2 px above the final top, which is the menu's existing translateY(-2px) open animation.Not run: the app itself in a browser (it needs the Go server and a sign-in), so the top bar menus, the sidebar right-click menu, the crumb menu and the slash and @ lists were not measured; no before numbers from origin/main; the 4-size matrix; the hint timings at 1871x1080; End and Home and arrow-key checks; the demos opened from
file://; tests/window/test_window.py; the fullgo test ./.... DOM law: the hint state was checked under 4x throttling only through menuprobe's frame sampling on one demo menu, not on the app.Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.